package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.poi.ss.formula.functions.T;

public class PageDTO<T>  extends Page<T> {

    private Long zdSax;

    public Long getZdSax() {
        return zdSax;
    }

    public void setZdSax(Long zdSax) {
        this.zdSax = zdSax;
    }

    public PageDTO(Long zdSax) {
        this.zdSax = zdSax;
    }

    public PageDTO(long current, long size, Long zdSax) {
        super(current, size);
        this.zdSax = zdSax;
    }

    public PageDTO(long current, long size, long total, Long zdSax) {
        super(current, size, total);
        this.zdSax = zdSax;
    }

    public PageDTO(long current, long size, boolean searchCount, Long zdSax) {
        super(current, size, searchCount);
        this.zdSax = zdSax;
    }

    public PageDTO(long current, long size, long total, boolean searchCount, Long zdSax) {
        super(current, size, total, searchCount);
        this.zdSax = zdSax;
    }

    public PageDTO(Page<T> originalPage) {
        super(originalPage.getCurrent(),originalPage.getSize(), originalPage.getTotal());
        this.setRecords(originalPage.getRecords());
    }


}
